"""Yuri URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/2.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path,include
from .views import *
# app_name='Yuri'
urlpatterns = [
    path('',index,name='index'),
    path('login/',login,name='login'),
    path('logout/',logout,name='logout'),
    path('register/',register,name='register'),
    path('user/',user,name='user'),
    path('login/',index,name='login'),
    path('cart/',cart,name='cart'),
    path('show/<int:pk>',show,name='show'),
    path('add/<int:pk>',add,name='add'),
    path('del/<int:pk>',delete,name='del'),
    path('clear',clear,name='clear'),
    path('cancel/<int:pk>',cart,name='cancel'),
    path('payit',payit,name='payit'),
    path('order/<int:pk>',order,name='order'),
    path('order/del/<int:pk>',order_del,name='order_del'),
    path('orders',orders,name='orders'),
    path('address',address,name='address'),
    path('address/modify/<int:pk>',address_modify,name='address_modify'),
    path('address/delete/<int:pk>',address_delete,name='address_delete'),

]
